package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("换车记录创建参数")
public class SwitchedCarRecordCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "carRecordNo参数缺失")
    @ApiModelProperty(value = "切换记录编码")
    private String carRecordNo;

    @NotNull(message = "oldCarNo参数缺失")
    @ApiModelProperty(value = "原车辆编码")
    private String oldCarNo;

    @NotNull(message = "newCarNo参数缺失")
    @ApiModelProperty(value = "新车辆编码")
    private String newCarNo;

    @NotNull(message = "operationType参数缺失")
    @ApiModelProperty(value = "操作类型;操作类型:1、还车")
    private Integer operationType;

    @NotNull(message = "oldCarStatus参数缺失")
    @ApiModelProperty(value = "原车辆状态：0、正常 1、维修 2、报废")
    private Integer oldCarStatus;
}
